#include "Log.hpp"
#include <memory>

using namespace LogModule;

int main()
{
    Enable_Console_Log_Strategy();
    LOG(LogLevel::DEBUG) << "hello world" << 3.14;
    LOG(LogLevel::DEBUG) << "hello world" << 3.14;
    LOG(LogLevel::DEBUG) << "hello world" << 3.14;


    //std::unique_ptr<LogStrategy> strategy = std::make_unique<ConsoleLogStrategy>();
    
    // std::unique_ptr<LogStrategy> strategy = std::make_unique<FileLogStrategy>();
    // strategy->SyncLog("hello log!");
    // logger.EnableFileLogStrategy();
    // logger(LogLevel::DEBUG,"main.cc",10) << "hello world," << "1212" << 4242 <<"aaaa";
    // logger(LogLevel::DEBUG,"main.cc",10) << "hello world";
    // logger(LogLevel::DEBUG,"main.cc",10) << "hello world";
    // logger(LogLevel::DEBUG,"main.cc",10) << "hello world";
    // logger(LogLevel::DEBUG,"main.cc",10) << "hello world";
    // logger(LogLevel::DEBUG,"main.cc",10) << "hello world";
    return 0;
}